Release 10.1A: OpenEdge Development:
Web Services


Testing from a Web services client

This method allows you to create a client application environment and functionality exactly as you expect real Web service clients to be created, and you can test the application end-to-end using a complete Web service testing infrastructure.

The rapid prototyping capability of the Progress 4GL can also make it a convenient platform to test the application service as a Web service, depending on the requirements of the Web service. Some client platforms might handle certain types of Web service interaction more easily than others. However, especially where the 4GL most easily handles a particular Web service application feature, modifying an existing 4GL unit test bed to access the AppServer as a Web service is a natural next step in testing Web service functionality.

Otherwise, especially if you expect your primary client base to use another platform, you might want to test on that platform to fully understand what users of that platform need to do in order to use the Web service that you plan to deploy.

To test from a Web services client:

  1. Configure the AppServer to support the required application session model:
  2. Define the Web service and generate the Web service mapping (WSM) file using ProxyGen. For more information, see OpenEdge Development: Open Client Introduction and Programming .
  3. Generate a test WSDL file from ProxyGen when you generate the WSM file, or deploy the WSM file to a WSA instance to obtain a deployed WSDL file. For more information on deploying a Web service, see the sections on deploying and managing Web services in OpenEdge Application Server: Administration .
  4. Write the test client application, using the WSDL file to help generate client interfaces or to manually write the code to invoke Web service requests. For more information, see Part II, "Clients Accessing Progress 4GL Web Services." For information on building a Progress 4GL client to access your Web service, see Part III, "Progress 4GL Clients Accessing Industry Web Services."
  5. Once you have an executable test client, ensure that the AppServer and WSA are running, and the WSA instance where you deployed the Web service is enabled to allow client access to the Web service. For more information on running and enabling the WSA for Web service client access, see the sections on working with the WSA and deploying Web services in OpenEdge Application Server: Administration .
  6. Begin testing the client. For information on debugging Web services during testing, see the "Testing the AppServer application as a Web service" section.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095